package com.hnguigu.health.houduan.lq.service_lq;

import com.github.pagehelper.PageInfo;
import com.hnguigu.health.pojo.TMeals;
import com.hnguigu.health.pojo.TMealsType;

import java.util.List;

public interface TMealsService {
    PageInfo<TMeals> selectAllTMeals(int page , int num ,String content);
    int insertSelective(TMeals record);
    int updateByPrimaryKeySelective(TMeals record);
    int deleteByPrimaryKey(Integer id);
    List<TMealsType> findAll();
    TMeals getBycode(String name);
    TMeals Lastbean();
}
